package cn.tedu.spring.eg1;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author 董代恒
 * @version 1.0
 */

@Component
@Data
public class Product {
    @Value("三国志战略版")
    private String title;

    @Value("10000")
    private Integer num;

    @Value("5000万玩家")
    private String comment;
}
